<!--
 * @Description: 审核退产品
 * @Author: QinTianyu
 * @Date: 2020-04-25 14:56:36
 * @LastEditors: QinTianyu
 * @LastEditTime: 2020-04-25 15:05:09
 -->
 <style>
    th{
        padding: 12px 0;
    }
</style>

<table width="100%"  style="font-size:18px" border="1" cellspacing="0" cellpadding="0">
  <caption>
      <h2>澜悦售后单</h2>

  </caption>
  <tr>
    <th scope="col">订单编号</th>
    <th scope="col">{$formData['sn']}</th>
    <th scope="col">会员</th>
    <th scope="col">{$formData['user_name']}</th>
    <th scope="col">门店</th>
    <th scope="col">{$formData['shop_name']}</th>
  </tr>
  <tr>
    <th>收银</th>
    <th>{$formData['cashier_name']}</th>
    <th>顾问</th>
    <th>{$formData['adviser_name']}</th>
    <th>美容师</th>
    <th>{$formData['technician_name']}</th>
  </tr>
  <tr>
      <th scope="col">序号</th>
    <th colspan="">产品名称</th>
    <th colspan="">产品数量</th>
    <th colspan="">退款金额</th>
    <th scope="col">仓库</th>
    <th scope="col">&nbsp;</th>
  </tr>
  {volist name="lists" id="vo" key="key"}
  <tr>
      <th scope="col">{$key}</th>
    <th colspan="">{$vo.name|default=""}</th>
    <th colspan="">{$vo.num|default="0"}</th>
    <th colspan="">{$vo.price2|default="0"}</th>
    <th scope="col">{$vo.warehouse_name|default=""}</th>
    <th scope="col">&nbsp;</th>
  </tr>
  {/volist}

  <tr>
    <th>支出账户</th>
    <th>{$formData['account_name']}</th>
    <th>金额</th>
    <th>{$formData['price']}</th>
    <th colspan="">&nbsp;</th>
    <th colspan="">&nbsp;</th>
  </tr>

</table>

<form class="layui-form pt10" action="{:url()}" method="post" id="editForm">
    <div class="layui-form-item">
        <label class="layui-form-label">审核状态</label>
        <div class="layui-input-inline">
            <input type="radio" class="field-status" name="status" value="2" title="通过" checked>
            <input type="radio" class="field-status" name="status" value="3" title="不通过">
        </div>
        <div class="layui-form-mid layui-word-aux"></div>
       
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" class="field-id" name="id">
        </div>
    </div>
    <div class="pop-bottom-bar hisi-footer">
        <button type="submit" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmit" hisi-data="{pop: true, refresh: true}">提交保存</button>
        <a href="javascript:parent.layui.layer.closeAll();" class="layui-btn layui-btn-primary ml10">取消</a>
    </div>
</form>
{include file="system@block/layui" /}

<script>

    layui.use(['func','laydate','xmSelect'], function() {
        //常规用法

        layui.func.assign({:json_encode($formData)});
    
    
    });
    </script>